#ifndef DEFINTIONS_H__
#define DEFINTIONS_H__

// Server stuff
#define DEFAULT_PORT 9100
#define MAX_INPUT_BUFFER 2048

// Levels
#define HEAD	130
#define GOD		120
#define BUILDER	115
#define KING	110
#define LORD	105
#define HERO	100
#define NEWB	10
#define START	1

// Races
#define HUMAN	0
#define ELF		1
#define DWARF	2
#define SATYR	3
#define SPRITE	4
#define GNOME	5
#define TROLL	6
#define GOBLIN	7
#define ORC		8

//Classes
#define MAGE		0
#define CLERIC		1
#define NECRO		2
#define DRUID		3
#define ALCHEMIST	4
#define WARRIOR		5
#define KNIGHT		6
#define BANDIT		7
#define RANGER		8
#define VANGUARD	9
#define GUARDIAN	10
#define SAGE		11

// Positions
#define SLEEPING	0
#define RESTING		1
#define SITTING		2
#define STANDING	3
#define RIDING		4
#define FIGHTING	5

// Genders
#define MALE	0
#define FEMALE	1
#define NEUTRAL	2

// Equipment Locations
#define FLOAT		0
#define HEAD_		1
#define EAR_L		2
#define EAR_R		3
#define FACE		4
#define NECK		5
#define BODY		6
#define SHOULDERS	7
#define ARMS		8
#define ELBOW_L		9
#define ELBOW_R		10
#define FOREARM_L	11
#define FOREARM_R	12
#define WRIST_L		13
#define WRIST_R		14
#define HAND_L		15
#define HAND_R		16
#define FINGER_L	17
#define FINGER_R	18
#define TORSO		19
#define WAIST		20
#define LEGS		21
#define KNEE_L		22
#define KNEE_R		23
#define SHIN_L		24
#define SHIN_R		25
#define ANKLE_L		26
#define ANKLE_R		27
#define FOOT_L		28
#define FOOT_R		29

// Character status
#define CONNECTED	0
#define CREATION	1
#define LOGIN		2
#define AEDIT		3
#define REDIT		4
#define MEDIT		5
#define PEDIT		6
#define OEDIT		7
#define NEDIT		8

// Character hand
#define LEFT	0
#define RIGHT	1

// Directions
#define NORTH	0
#define EAST	1
#define SOUTH	2
#define WEST	3
#define UP		4
#define DOWN	5

// Login stuff
#define CHECK_NAME		0
#define CHECK_PASSWORD	1
#define FINISHED		2
#define INVALID			-2

// Log Types
#define SERVER	0
#define WORLD	1
#define EVENT	2
#define ACTION	3
#define ACCOUNT	4
#define OMNINET 5
#define ADMIN	6
#define PLAYER	7

// Log Files
#define SERVER_LOG		"log/server.log"
#define WORLD_LOG		"log/world.log"
#define EVENT_LOG		"log/event.log"
#define ACTION_LOG		"log/action.log"
#define ACCOUNT_LOG		"log/account.log"
#define OMNINET_LOG		"log/omninet.log"
#define ADMIN_LOG_DIR	"log/adminLogs/"
#define PLAYER_LOG_DIR	"log/playerLogs/"
#define DEFAULT_LOG		"log/default.log"

// Reset types
#define OBJECT	0
#define MOB		1

// Room sectors...
#define INDOOR		0
#define CITY		1
#define FOREST		2
#define PLAINS		3
#define SWAMP		4
#define MOUNTAIN	5
#define ROAD		6
#define UNDERWATER	7
#define GRAVEYARD	8
#define CHURCH		9
#define ARENA		10

// Tick intervals
#define LOWER_TICK 45
#define UPPER_TICK 75

// Area resets
#define LOWER_RESET 600
#define UPPER_RESET 900

// Autoreboot warning levels
#define FIVE	0
#define THIRTY	1
#define THREE	2
#define TWO		3
#define ONE		4
#define REBOOT	5

// System files and directories
#define DATA_FILE	"system/data.sym"
#define QUOTE_FILE	"system/quotes.sym"
#define PFILE_DIR	"system/pfiles/"
#define AREA_DIR	"system/areas/"
#define HELP_FILE	"system/help.sym"
#define BOARD_DIR	"system/boards/"
#define BAN_FILE	"system/banned.sym"
#define TEMP_FILE	"system_temp_file.sym"

// Connection status
#define ALL			0
#define WCONNECTED	1

// Omninet channels
#define STANDARD	0
#define TICK		1

// Mob action intervals
#define LOWER_ACT 10
#define UPPER_ACT 100

// Boards
#define ADMIN_BOARD		1
#define GENERAL_BOARD	2
#define IDEA_BOARD		3
#define	PERSONAL_BOARD	4



#endif // #ifndef DEFINITIONS_H__
